Private Sub z_GetClipRgn(pDest As Integer, pSrcMin As Integer, pSrcMax As Integer, ByVal pSrcM1 As Integer, ByVal pSrcLow As Integer, ByVal pDestLow As Integer, ByVal pDestHigh As Integer, pVal As Single)
Public Sub ColorFill(Surf As SurfaceDescriptor, pAry() As Long, pSA As SAFEARRAY1D, Optional ByVal pColor As Long = 0, Optional ByVal pLowBound As Long = 0)
Dim L1 As Long
'how to use hook subs
Hook1D_Begin Surf, pAry, pSA, pLowBound
For L1 = pLowBound To pLowBound + Surf.U1D
pAry(L1) = pColor 'now have 1d access!
Next
Hook1D_End pAry
End Sub
'''''''''''''''''''''''''''
' '
' Blit '
' '
'''''''''''''''''''''''''''
Sub Blit(pSD As SurfaceDescriptor, Optional ByVal pX As Integer, Optional ByVal pY As Integer, Optional ByVal pWid As Integer = -1, Optional ByVal pHgt As Integer = -1)
Sub CreateSurfaceDesc(SDesc1 As SurfaceDescriptor, lHDC As Long, ByVal Wide As Long, ByVal High As Long, Optional ByVal LowX As Integer = 0, Optional ByVal LowY As Integer = 0)
Public Function SurfaceDescFromFile(Surf As SurfaceDescriptor, strFileName$, Optional ByVal pHDC As Long, Optional ByVal MaskColor As Long = -1, Optional ByVal pLowX As Integer = 0, Optional ByVal pLowY As Integer = 0, Optional ByVal StrFolder$ = "") As String
Public Function FileToSurfaceDesc(Surf As SurfaceDescriptor, strFileName$, Optional ByVal pHDC As Long, Optional ByVal MaskColor As Long = -1, Optional ByVal pLowX As Integer = 0, Optional ByVal pLowY As Integer = 0, Optional ByVal StrFolder$ = "") As String